package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会议收集人员对象 meeting_collect_user
 *
 * @author ruoyi
 * @date 2024-04-04
 */
public class MeetingCollectUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 会议收集id */
    @Excel(name = "会议收集id")
    private Long collectId;

    /** 人员id */
    @Excel(name = "人员id")
    private Long userId;

    /** 附件 */
    @Excel(name = "附件")
    private String fileUrl;

    /** 状态（0:未提交 1:已提交 2:已补交 ） */
    @Excel(name = "状态", readConverterExp = "0=:未提交,1=:已提交,2=:已补交")
    private String status;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upoladTime;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    private SysUser sysUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCollectId(Long collectId)
    {
        this.collectId = collectId;
    }

    public Long getCollectId()
    {
        return collectId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setUpoladTime(Date upoladTime)
    {
        this.upoladTime = upoladTime;
    }

    public Date getUpoladTime()
    {
        return upoladTime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("collectId", getCollectId())
            .append("userId", getUserId())
            .append("fileUrl", getFileUrl())
            .append("status", getStatus())
            .append("upoladTime", getUpoladTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
